package demo1;

public class OuterClass {
    public int data1 = 1;
    private int data2 = 2;
    public static int data3 = 3;

    static class InnerClass {
        public int data4 = 4;

        public void test() {
            System.out.println("inner::test()");
        }
    }
}
